package com.car.carsharing.service;

import com.car.carsharing.pojo.UserOrder;

import java.util.List;
import java.util.Map;

public interface  OrderService {
    int addOrder(Integer userId, Integer carId);


    List<UserOrder> getUserOrder(Integer userId);

    Integer cancelOrder(Map map);
}
